﻿package com.terrier.ui.skins.defaults
{
    import com.terrier.ui.skins.skinBaseClasses.WxSliderSkinBase;

    public class WxVSliderSkinDefault extends WxSliderSkinBase
    {
        public function WxVSliderSkinDefault()
        {
            _thumbSkin = new ThumbSkin();
            _trackSkin = new TrackSkin();
        }
    }
}
import com.terrier.ui.skins.skinBaseClasses.WxButtonSkinBase;

class TrackSkin extends WxButtonSkinBase
{
    public function TrackSkin()
    {
        _upBg = new VSliderTrack_skin();
        _overBg = _upBg;
        _downBg = _upBg;
        _disabledBg = new VSliderTrack_disabledSkin();
    }
}

class ThumbSkin extends WxButtonSkinBase
{
    public function ThumbSkin()
    {
        _upBg = new VSliderThumb_upSkin();
        _overBg = new VSliderThumb_overSkin();
        _downBg = new VSliderThumb_downSkin();
        _disabledBg = new VSliderThumb_disabledSkin();
    }

    override public function get height():Number
    {
        return 2;
    }

    override public function set height(value:Number):void
    {
        // nothing to do;
    }
}
